//
//  AboutViewController.m
//  NeteaseNewsLY
//
//  Created by dllo on 16/2/26.
//  Copyright © 2016年 www.lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "AboutViewController.h"

@interface AboutViewController ()

@end

@implementation AboutViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    self.view.backgroundColor = [UIColor whiteColor];
    
    UIImageView *imgView = [[UIImageView alloc] initWithFrame:CGRectMake(WIDTH * 125, HEIGHT * 75, WIDTH * 125, HEIGHT * 125)];
    imgView.image = [UIImage imageNamed:@"22"];
    [self.view addSubview:imgView];
    [imgView release];
    
    UILabel *new = [[UILabel alloc] initWithFrame:CGRectMake(WIDTH * 100, HEIGHT * 215, WIDTH * 200, HEIGHT * 40)];
    new.text = @"NeteaseNewsLY";
    new.font = [UIFont systemFontOfSize:23];
    [self.view addSubview:new];
    [new release];
    
    UILabel *biaoyu = [[UILabel alloc] initWithFrame:CGRectMake(WIDTH * 125, HEIGHT * 255, WIDTH * 125, HEIGHT * 30)];
    biaoyu.text = @"新闻观天下";
    biaoyu.textColor = [UIColor grayColor];
    biaoyu.textAlignment = NSTextAlignmentCenter;
    [self.view addSubview:biaoyu];
    [biaoyu release];
    
    UIButton *yinsi = [UIButton buttonWithType:UIButtonTypeSystem];
    yinsi.frame = CGRectMake(WIDTH * 50, HEIGHT * 430, WIDTH * 300, HEIGHT * 30);
    [yinsi setTitle:@"隐私策略" forState:UIControlStateNormal];
    // 边框及颜色
    yinsi.layer.borderWidth = 1;
    yinsi.layer.borderColor = [UIColor grayColor].CGColor;
    [yinsi addTarget:self action:@selector(yinsiAction) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:yinsi];

    
//    self.tabBarController.tabBar.hidden = YES;
    
}
- (void)yinsiAction
{
    YinsiViewController *yinsi = [[YinsiViewController alloc] init];
    [self.navigationController pushViewController:yinsi animated:YES];
    [yinsi release];
    
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
